package com.qf.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Orders)实体类
 *
 * @author makejava
 * @since 2020-07-02 10:14:09
 */
public class Orders implements Serializable {
    private static final long serialVersionUID = 821861415465181316L;

    private Integer oId;

    private String oNo;

    private Double oGoodPrice;

    private Integer oNum;
    /**
     * 0表示未支付,1表示已支付, 2表示取消,3表示过期,4表示申请退款状态,5表示退款中,6退款成功,7已完成, 8发货中
     */
    private Integer oStatus;
    /**
     * 0待评价,1表示已评价
     */
    private Integer oAppraiseStatus;
    /**
     * 订单所属的用户
     */
    private Integer oUserId;
    /**
     * 订单创建日期
     */
    private Date oCreateTime;
    /**
     * 付款日期
     */
    private Date oPayTime;
    /**
     * 商品id
     */
    private String oGoodId;
    /**
     * 商品的图片
     */
    private String oGoodImg;
    /**
     * 商品的描述信息
     */
    private String oGoodTitle;


    @Override
    public String toString() {
        return "Orders{" +
                "oId=" + oId +
                ", oNo='" + oNo + '\'' +
                ", oGoodPrice=" + oGoodPrice +
                ", oNum=" + oNum +
                ", oStatus=" + oStatus +
                ", oAppraiseStatus=" + oAppraiseStatus +
                ", oUserId=" + oUserId +
                ", oCreateTime=" + oCreateTime +
                ", oPayTime=" + oPayTime +
                ", oGoodId='" + oGoodId + '\'' +
                ", oGoodImg='" + oGoodImg + '\'' +
                ", oGoodTitle='" + oGoodTitle + '\'' +
                '}';
    }

    public Integer getOId() {
        return oId;
    }

    public void setOId(Integer oId) {
        this.oId = oId;
    }

    public String getONo() {
        return oNo;
    }

    public void setONo(String oNo) {
        this.oNo = oNo;
    }

    public Double getOGoodPrice() {
        return oGoodPrice;
    }

    public void setOGoodPrice(Double oGoodPrice) {
        this.oGoodPrice = oGoodPrice;
    }

    public Integer getONum() {
        return oNum;
    }

    public void setONum(Integer oNum) {
        this.oNum = oNum;
    }

    public Integer getOStatus() {
        return oStatus;
    }

    public void setOStatus(Integer oStatus) {
        this.oStatus = oStatus;
    }

    public Integer getOAppraiseStatus() {
        return oAppraiseStatus;
    }

    public void setOAppraiseStatus(Integer oAppraiseStatus) {
        this.oAppraiseStatus = oAppraiseStatus;
    }

    public Integer getOUserId() {
        return oUserId;
    }

    public void setOUserId(Integer oUserId) {
        this.oUserId = oUserId;
    }

    public Date getOCreateTime() {
        return oCreateTime;
    }

    public void setOCreateTime(Date oCreateTime) {
        this.oCreateTime = oCreateTime;
    }

    public Date getOPayTime() {
        return oPayTime;
    }

    public void setOPayTime(Date oPayTime) {
        this.oPayTime = oPayTime;
    }

    public String getOGoodId() {
        return oGoodId;
    }

    public void setOGoodId(String oGoodId) {
        this.oGoodId = oGoodId;
    }

    public String getOGoodImg() {
        return oGoodImg;
    }

    public void setOGoodImg(String oGoodImg) {
        this.oGoodImg = oGoodImg;
    }

    public String getOGoodTitle() {
        return oGoodTitle;
    }

    public void setOGoodTitle(String oGoodTitle) {
        this.oGoodTitle = oGoodTitle;
    }

}